BoxModel

data class BoxModel(content: Quad, padding: Quad, border: Quad, margin: Quad, width: Int, height: Int, shapeOutside: ShapeOutsideInfo?)

Box model.

Constructors

BoxModel
Link copied to clipboard
fun BoxModel(content: Quad, padding: Quad, border: Quad, margin: Quad, width: Int, height: Int, shapeOutside: ShapeOutsideInfo? = null)

Properties

border
Link copied to clipboard
val border: Quad
Border box
content
Link copied to clipboard
val content: Quad
Content box
height
Link copied to clipboard
val height: Int
Node height
margin
Link copied to clipboard
val margin: Quad
Margin box
padding
Link copied to clipboard
val padding: Quad
Padding box
shapeOutside
Link copied to clipboard
val shapeOutside: ShapeOutsideInfo? = null
Shape outside coordinates
width
Link copied to clipboard
val width: Int
Node width

Sources

jvm source
Link copied to clipboard